package c.e.b.h.e.q.c;

import c.e.b.h.e.b;
import c.e.b.h.e.q.c.c.a;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/* compiled from: SessionReport */
public class d implements c {
    public final File a;
    public final File[] b;
    public final Map<String, String> c;

    public d(File file, Map<String, String> map) {
        this.a = file;
        this.b = new File[]{file};
        this.c = new HashMap(map);
    }

    public Map<String, String> a() {
        return Collections.unmodifiableMap(this.c);
    }

    public File[] b() {
        return this.b;
    }

    public String c() {
        return this.a.getName();
    }

    public String d() {
        String c = c();
        return c.substring(0, c.lastIndexOf(46));
    }

    public a e() {
        return a.JAVA;
    }

    public File f() {
        return this.a;
    }

    public void remove() {
        b bVar = b.a;
        StringBuilder g = c.b.a.a.a.g("Removing report at ");
        g.append(this.a.getPath());
        bVar.b(g.toString());
        this.a.delete();
    }
}
